#ifndef CELL_MAIN_H
#define CELL_MAIN_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui {
class cell_main;
}
QT_END_NAMESPACE

class cell_main : public QMainWindow
{
    Q_OBJECT

public:
    cell_main(QWidget *parent = nullptr);
    ~cell_main();

    static void setcurFileName(QString filename);

    void askIfSaveCurFile();

private slots:

    void openCurFile();

    void on_actionNew_triggered();

    void on_actionOpen_triggered();

    void on_actionSave_triggered();

private:
    Ui::cell_main *ui;
    static QString _curFileName;
};
#endif // CELL_MAIN_H
